package net.y2t72.microblog.bean;

import java.io.Serializable;

/**
 * 广播信息实体类
 * 
 * @author Administrator
 * 
 */

public class Content implements Serializable{

	/**版本号
	 * 
	 */
	private static final long serialVersionUID = 8323269298433797905L;

	public Content() {
		super();
	}

	private int id;									//广播编号
	private Member member;							//发布广播的会员信息
	private String contentBody1;					//广播内容
	private String contentBody2;					//转播的内容信息
	private String postTime;						//发布时间
	private Image image;						//上传的图片信息 若没有上传则为null
	private Content root;							//转播的原广播信息
	private int forwardTimes;						//转播次数
	private int replyTimes;							//评论次数
	private Member toMember;						//被转播/评论/回复的会员信息
	private Content toContent;						//被转播/评论/回复的广播信息
	private int type;								//广播类型 0:原创 1:转播 2:评论 3:图片 4:话题

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public Member getMember() {
		return member;
	}

	public void setMember(Member member) {
		this.member = member;
	}

	public String getContentBody1() {
		return contentBody1;
	}

	public void setContentBody1(String contentBody1) {
		this.contentBody1 = contentBody1;
	}

	public String getContentBody2() {
		return contentBody2;
	}

	public void setContentBody2(String contentBody2) {
		this.contentBody2 = contentBody2;
	}

	public String getPostTime() {
		return postTime;
	}

	public void setPostTime(String postTime) {
		this.postTime = postTime;
	}

	public Image getImage() {
		return image;
	}

	public void setImage(Image image) {
		this.image = image;
	}

	public Content getRoot() {
		return root;
	}

	public void setRoot(Content root) {
		this.root = root;
	}

	public int getForwardTimes() {
		return forwardTimes;
	}

	public void setForwardTimes(int forwardTimes) {
		this.forwardTimes = forwardTimes;
	}

	public int getReplyTimes() {
		return replyTimes;
	}

	public void setReplyTimes(int replyTimes) {
		this.replyTimes = replyTimes;
	}

	public Member getToMember() {
		return toMember;
	}

	public void setToMember(Member toMember) {
		this.toMember = toMember;
	}

	public Content getToContent() {
		return toContent;
	}

	public void setToContent(Content toContent) {
		this.toContent = toContent;
	}

	public int getType() {
		return type;
	}

	public void setType(int type) {
		this.type = type;
	}

}
